<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<%@ page import="awesome.Manager.UserManager"%>
<%
	String country = request.getParameter("country");

	String first_name = request.getParameter("first_name");
	String mi = request.getParameter("MI");
	String last_name = request.getParameter("last_name");

	String email = request.getParameter("email");

	String address = request.getParameter("address");
	String city = request.getParameter("city");
	String state = request.getParameter("state");
	String zipcode = request.getParameter("zipcode");

	UserManager um = new UserManager();

	um.updateUser(session.getAttribute("uid").toString(), first_name,
			last_name, mi, email, address, country, city, state,
			zipcode);

	response.sendRedirect("myProfile.jsp?mode=view");
	
	%>